package cn.gov.ssxmzj.mapper;

import cn.gov.ssxmzj.entry.BeneficiaryInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface BeneficiaryMapper {

    public int getCount(Map data);

    public List<BeneficiaryInfo> getBeneficiaryInfo(Map data);

    public List<Map> ManagerGetBeneficiaryInfo(Map dataMap);

    public int deleteBeneficiary(String beneficiaryId);

    public int changeBeneficiaryValidTag(Map dataMap);

    public void addBeneficiary(BeneficiaryInfo beneficiaryInfo);

    public int modifyBeneficiary(BeneficiaryInfo beneficiaryInfo);

    public int autoAddBeneficiary(@Param("beneficiaryList") List<BeneficiaryInfo> beneficiaryInfoList);
}
